package com.ruoyi.memo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 日程对象 memo_schedule
 * 
 * @author ruoyi
 * @date 2025-06-12
 */
public class MemoSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 用户ID(SysUser表关联) */
    @Excel(name = "用户ID(SysUser表关联)")
    private Long userId;

    /** 日历日期(YYYY-MM-DD) */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日历日期(YYYY-MM-DD)", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduleDate;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 自动拼接字段(日期:标题) */
    @Excel(name = "自动拼接字段(日期:标题)")
    private String displayText;

    /** 状态(0正常 1停用) */
    @Excel(name = "状态(0正常 1停用)")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setScheduleDate(Date scheduleDate) 
    {
        this.scheduleDate = scheduleDate;
    }

    public Date getScheduleDate() 
    {
        return scheduleDate;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setDisplayText(String displayText) 
    {
        this.displayText = displayText;
    }

    public String getDisplayText() 
    {
        return displayText;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("scheduleDate", getScheduleDate())
            .append("title", getTitle())
            .append("content", getContent())
            .append("displayText", getDisplayText())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
